package com.cls.business.entity;

import java.util.Date;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cls.common.entity.BaseEntity;
import java.io.Serializable;
import java.util.List;

/**
 *  Entity
 *
 * @author wandering
 * @date 2020-11-18 11:58:54
 */
@Data
@TableName("biz_review")
public class Review extends BaseEntity implements Serializable {



    /**
     * 主键ID
     */
    @TableId(value = "review_id", type = IdType.AUTO)
    private Long reviewId;



    /**
     * 关联专家ID
     */
    @TableField("expert_id")
    private Long expertId;



    /**
     * 关联申请课题ID
     */
    @TableField("declare_id")
    private Long declareId;

    /**
     * 关联计划ID
     */
    @TableField("plan_id")
    private Long planId;

    /**
     * 关联计划ID
     */
    @TableField("group_id")
    private Long groupId;


    /**
     * 评分
     */
    @TableField("score")
    private Double score;



    /**
     * 专家意见
     */
    @TableField("opinion")
    private String opinion;


    /**
     * 专家评审结果详细表
     */
    @TableField(exist = false)
    private List<ReviewSubject> reviewSubjectList;

    /**
     * 专家评审结果详细表
     */
    @TableField(exist = false)
    private List<ReviewDetail>  reviewDetailList;

    /**
     * 是否提交 0 保存 1提交
     */
    @TableField("is_submit")
    private Boolean isSubmit;

}
